import Vue from 'vue'
import Router from 'vue-router'
import Home from '../views/tabbar/home'
import Member from '../views/tabbar/member'
import Shopcar from '../views/tabbar/shopcar'
import Search from '../views/tabbar/search'

Vue.use(Router)

export default new Router({
  routes: [
    {path:'/home',component:Home},
    {path:'/member',component:Member},
    {path:'/shopcar',component:Shopcar},
    {path:'/search',component:Search},
    {path:'/',redirect:'/home'}
  ],
  linkActiveClass:'mui-active'  //覆盖默认路由高亮的类
})
